﻿@using EcBlog.Data
@using EcBlog.Models
@{
    var siteSettings = DependencyResolver.Current.GetService<IEcUnitOfWork>().SiteSettingRepository;  
}
<meta name ="Description" content="@ViewBag.Description" />
<meta name ="author" content="@siteSettings[SiteSettingKey.Author]" />
<meta name ="Copyright" content="@siteSettings[SiteSettingKey.Copyright]" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="@siteSettings[SiteSettingKey.RssUrl]" /> 
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />

<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="@siteSettings[SiteSettingKey.SiteUrl]/wlwmanifest.xml" /> 
<link type="application/rsd+xml" rel="edituri" title="rsd" href="@siteSettings[SiteSettingKey.SiteUrl]/rsd.axd" />
<link type="application/opensearchdescription+xml" rel="search" title="@siteSettings[SiteSettingKey.SiteTitle]" href="@siteSettings[SiteSettingKey.SiteUrl]/opensearch.axd" />

<meta name="google-site-verification" content="@siteSettings[SiteSettingKey.GoogleSiteVerificationKey]" />
<meta name="msvalidate.01" content="@siteSettings[SiteSettingKey.BingSiteVerificationCode]" />
<META name="y_key" content="@siteSettings[SiteSettingKey.YahooSiteVerificationCode]" />
<link rel="icon" type="image/ico" href="@Url.Content("~/Content/base/favicon.ico")" />
 

<script type="text/javascript">
    var googleAnalyticsId =  "@siteSettings[SiteSettingKey.GoogleAnalyticsCode]";
    var twitter_user = "@siteSettings[SiteSettingKey.TwitterUserName]"; 
</script>
<script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
<script src="//platform.linkedin.com/in.js" type="text/javascript"></script>

@Scripts.Render("~/bundles/jquery","~/bundles/modernizr","~/bundles/prettify", "~/bundles/adapt", "~/bundles/ecblog")

@Styles.Render("~/Content/themes/base/css", "~/Content/prettify", "~/Content/adapt")